
import base from './base'
import axios from '../utils/request'

const api = {
    login:(params)=>{
        return axios.post(base.baseUrl+base.login,params)
    },
    get_captcha:(params)=>{
        return axios.get(base.baseUrl+base.captcha, params)
    },
    verify_captcha:(params)=>{
        return axios.post(base.baseUrl+base.captcha, params)
    }
}

export default api